﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gao.Poker.Domain
{
    /// <summary>
    /// 会员消费记录表(记录会员比赛消费，酒水消费，奖品消费等记录)
    /// </summary>
    public class PExpenseHis
    {
        [Key]
        public int ID { get; set; }
        /// <summary>
        /// 关联的会员编号
        /// </summary>
        public int F_UserId { get; set; }
        /// <summary>
        /// 消费类型 关联SysPara字典表中DataType为EType =>比赛消费，酒水消费，奖品消费
        /// </summary>
        public int F_ETypeId { get; set; }
        /// <summary>
        /// 关联的产品信息或比赛编号
        /// </summary>
        public int F_POrCId { get; set; }
        /// <summary>
        /// 缴费类型 (1积分，2 现金)
        /// </summary>
        public int EType { get; set; }
        /// <summary>
        /// 消费数量
        /// </summary>
        public int ENumber { get; set; }
        /// <summary>
        /// 消费金额或积分
        /// </summary>
        public double EPointMoneny { get; set; }
        /// <summary>
        /// 消费日期
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public String Remark { get; set; }
    }
}
